//
//  ArticleVideoTableViewCell.swift
//  LearnDemo
//
//  Created by 振轩 on 2018/4/8.
//  Copyright © 2018年 振轩. All rights reserved.
//

import UIKit

class ArticleVideoTableViewCell: UITableViewCell {
    var mode:videoSub?{
        didSet{
            
            
            title.text = mode?.title
            VideoImageView.loadWebImage(withName: mode?.thumb, andIsOrgin: true)
            viewCountLabel.text = "\(String(describing: mode!.viewNum))"
           collectCountLabel.text = "\(String(describing: mode!.collectNum))"
            
            
            
        }
        
        
    }
    @IBOutlet weak var collectCountLabel: UILabel!
    
    @IBOutlet weak var VideoImageView: UIImageView!
    
    @IBOutlet weak var title: UILabel!
    
    @IBOutlet weak var viewCountLabel: UILabel!
    
    
    @IBOutlet weak var MoreBTN: UIButton!
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
